package xyz.bali16.module.invitecode.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.invitecode.entity.Invitation;
import xyz.bali16.module.invitecode.model.invitation.InvitationAddParam;
import xyz.bali16.module.invitecode.model.invitation.InvitationPageParam;
import xyz.bali16.module.invitecode.model.invitation.InvitationUpdateParam;


/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
public interface InvitationService extends IService<Invitation> {

    IPage<Invitation> getPage(InvitationPageParam param);

    void addInvitation(InvitationAddParam param) throws Exception;

    void updateInvitation(InvitationUpdateParam param) throws Exception;
    void delete(String invitationId) throws Exception;

}
